package sh.orm.query;

import lombok.Data;

/**
 * 单个查询条件
 * @author lqq
 * @date 2019/1/28
 */
@Data
public class Condition {

    private String column;
    private String compare;
    private Object arg;

    /**
     * 构造方法
     * @param column 列
     * @param compare 比较字符串
     * @param arg 传入的参数
     */
    public Condition(String column , String compare , Object arg){
        this.column = column;
        this.compare = compare;
        this.arg = arg;
    }
}
